package com.joysuch.wwyt.bp.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2021/1/14 9:47
 */
@Data
public class BpEnterpriseCertBean {

    private Long id;
    @ApiModelProperty("证书名称")
    private String certName;
    @ApiModelProperty("证书编号")
    private String certCode;
    @ApiModelProperty("证书附件")
    private BaseAttachmentBean certAttachment;
    @ApiModelProperty("证书类型--数据字典维护")
    private Long certTypeId;
    @ApiModelProperty("证书类型名称")
    private String certTypeName;
    @ApiModelProperty("发证机构")
    private String releaseOrganization;
    @ApiModelProperty("发证日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate releaseDate;
    @ApiModelProperty("有效起始日")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate effectiveStartDate;
    @ApiModelProperty("有效终止日")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate effectiveEndDate;
    @ApiModelProperty("证书描述")
    private String certDescribe;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("相关照片")
    private List<BaseAttachmentBean> imgAttachmentList;

}
